Previous Book Contents Book Index Next

Inside Macintosh: /
QuickDraw 3D RAVE / QuickDraw 3D RAVE Reference
QuickDraw 3D RAVE Routines / Public Draw Context Methods


TQASetNoticeMethod

A drawing engine must define a method to set the notice method of a draw context.

typedef TQAError (*TQASetNoticeMethod) (
                                        const TQADrawContext *drawContext, 
                                        TQAMethodSelector method, 
                                        TQANoticeMethod completionCallBack, 
                                        void *refCon);
drawContext
A draw context.
method
A method selector. See "Notice Method Selectors" (page 1-68) for a description of the available method selectors.
completionCallBack
A pointer to the desired draw context notice method of the specified type. See "Notice Methods" (page 1-147) for information about notice methods.
refCon
A reference constant for the specified notice method. This value is passed unchanged to the notice method when it is called.
DESCRIPTION
Your TQASetNoticeMethod function should set the notice method of type method of the draw context specified by the drawContext parameter to the function pointed to by the completionCallBack parameter. TQASetNoticeMethod should also set the reference constant of that method to the value specified by the refCon parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
28 AUG 1996